mod user;
pub mod test_router;

use crate::router::user::init_user_router;
use crate::router::test_router::init_test_router;
use anyhow::Result;
use axum::Router;

pub fn init_router() -> Result<Router> {
    let router = Router::new()
        .merge(init_user_router()?)
        .merge(init_test_router()?);

    Ok(router)
}
